package com.lanou.utp.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author MaQingYun
 */
@Data
public class Warning implements Serializable {

    private Long id;
    private Long taskId; /** 任务id */
    private Long studentId; /** 学生id */
    private Integer type; /** 预警类型（0签到预警，1日志预警） */
    private String content; /** 预警信息内容 */
    private Integer status;/*状态*/
    private String studentName;
    private String schoolName;
    private String collegeName;
    private String majorName;
    private String clazzName;
    private String studentTel;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;/*创建时间*/

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;/*更新时间*/
}
